package com.huitu.whht.base.core.api.wr.irr.entities;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.huitu.whht.api.core.common.base.BaseEntity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 灌区基本信息表实体类,表名称: WR_IRR_B <br/>
 * 日期: 2019-04-11
 * @author LiuCW
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WrIrrB extends  BaseEntity {

private static final long serialVersionUID = 4L;

    /**
      * 灌区代码
      */
    private String irrCd;
    /**
      * 灌区名称
      */
    private String irrNm;
    /**
      * 灌区水源类型
      */
    private String irrTp;
    /**
      * 灌区规模
      */
    private String irrScal;
    /**
      * 设计灌溉面积
      */
    private Double desIrrA;
    /**
      * 其中耕地灌溉面积
      */
    private Double fieldIrrA;
    /**
      * 运行状况
      */
    private String runCond;
    /**
      * 管理单位代码
      */
    private String engManCd;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime ts;
    /**
      * 备注
      */
    private String nt;
    /**
      * 灌溉起始月
      */
    private String irrStDt;
    /**
      * 灌溉结束月
      */
    private String irrEndDt;
    /**
      * 饮水类型
      */
    private String intTp;
    /**
      * 有效灌溉面积
      */
    private Double effIrrA;
    /**
      * 开工日期
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime staDt;
    /**
      * 建成日期
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime comDt;
}